#import <Foundation/Foundation.h>
#import "DDProduct.h"
UIKIT_EXTERN NSString * const DDPlatformLoginNotification;
UIKIT_EXTERN NSString * const DDPlatformPayNotification;
UIKIT_EXTERN NSString * const DDPlatformCancelNotification;
UIKIT_EXTERN NSString * const DDPlatformInitSuccessNotification;
@class DDProduct;
@interface DDPlatform : NSObject

typedef struct
{
    char *appID;
    char *channelID;
    char *serviceHeader;
    char *key;
}DDPlatformPara;
typedef struct
{
    DDPlatform * (*platform) (void);
    void (*registerPlatform)(DDPlatformPara para);
    void (*prepareLogin)(void);
    void (*prepareZF)(DDProductPara product);
    void (*setupH5) (void);
    DDPlatformPara (*getPara) (void);
}DDPlatformManager;
DDPlatformManager platformManager(void);
@end
